<!DOCTYPE HTML>
<html>
<head>
    <include file="Public/head"/>
  	<meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="__CSS__/center.css" type="text/css" rel="stylesheet">
</head>
<body>

<!-- 头部 -->

<!-- /头部 -->

<!-- 主体 -->
<block name="header">
    <!--<div class="main-wrapper">-->
        <include file="Public/header"/>
        
		<div class="m-banner am-cf"><img src="__PUBLIC__/images/banner1.jpg" /></div>
			<div class="container index-project index-project-mp con-color">
             
            <!--副标题-->
            <div class="path am-padding-1-sm am-padding-horizontal-md am-padding-horizontal-lg am-margin-bottom am-cf">
                <div class="subtitle  am-u-sm-12 am-u-md-6 am-u-lg-6 am-padding-0-sm">
                    <strong>V</strong>
                    <h3>志愿者<span>管理中心</span></h3>
                    <p>
                        志/愿/青/春&nbsp;爱/我/寿/光<br/>
                        OLUNTEER PROJECT
                    </p>
                </div>
                <!--已经登陆成功-->
                <include file="Public/detail_login"/>
                <!--还未登陆-->
            </div>
            <!--副标题-->
			<!--左侧导航菜单-->
            <div class="am-cf news-detail  am-padding-0">
                <div class="sidebar am-u-sm-12 am-u-md-3 am-u-lg-3 am-padding-0">
                    <ul class="am-padding-0 am-margin-0 center-menu">
                        <li class="sidebar-title ">
                            <i></i>
                            <span>组织</span>
                            <p>Organization</p>
                        </li>
                        <li><a href="zuzhi-list.html"><i>+</i>组织列表</a></li>
                        <li><a href="myzuzhi.html"><i>+</i>我的组织</a></li>
                        <li><a href="fav-zuzhi.html"><i>+</i>关注的组织</a></li>
                        <li class="sidebar-title">
                            <i></i>
                            <span>活动管理</span>
                            <p>Activity management</p>
                        </li>
                        <li><a href="huodong-list.html"><i>+</i>活动列表</a></li>
                        <li><a href="{:U('Event/index/myevent')}"><i>+</i>我的活动</a></li>
                        <li><a href="fav-huodong.html"><i>+</i>活动收藏</a></li>
                        <li class="sidebar-title">
                            <i></i>
                            <span>设置</span>
                            <p>Volunteer setup</p>
                        </li>
                        <li><a href="{:U('Config/index')}"><i>+</i>个人资料</a></li>
                        <li><a href="{:U('Config/password')}"><i>+</i>修改密码</a></li>
                        <li><a href="{:U('Config/avatar')}"><i>+</i>头像修改</a></li>
                        <li id="score"><a href="{:U('Config/score')}"><i>+</i>我的积分</a></li>
                        <li><a href="../index.html"><i>+</i>退出登录</a></li>
                    </ul>
                </div>
                <!--左侧导航菜单-->
                <div class="content am-u-sm-12 am-u-md-9 am-u-lg-9 am-padding-0">
					<block name="body"></block>
				</div>
	    <!--</div>-->
	    <script type="text/javascript">
	        $(function () {
	            $(window).resize(function () {
	                $("#main-container").css("min-height", $(window).height() - 343);
	            }).resize();
	        })
	    </script>
	    <script>
	    	$(document).ready(function(){
	    		$('.center-menu li').each(function(){
	    			var a_href = $(this).find('a').attr('href');
	    			if(location.href.indexOf(a_href)!= -1){
	    				$(this).parent('ul').children('li').removeClass('current-item');
	    				$(this).addClass('current-item');
	    			}
	    		});
	    	});
	    </script>
</block>
<!-- /主体 -->

<!-- 底部 -->
</div>
</div>
<include file="Public/footer"/>
<!-- /底部 -->

<script>
    $(function () {
        var $sidebar = $('#usercenter-sidebar-td');
        var $sidebar_xs = $('#usercenter-sidebar-xs');
        var $sidebar_sm = $('#usercenter-sidebar-sm');
        var $content = $('#usercenter-content-td');

        function trigger_resp() {
            var width = $(window).width();
            if (width < 768) {
                on_xs();
            } else {
                on_sm();
            }
        }

        function on_xs() {
            $sidebar_xs.append($sidebar);
            $content.css({'padding-left': 0, 'padding-right': 0});
        }

        function on_sm() {
            $sidebar_sm.prepend($sidebar);
        }

        trigger_resp();

        $(window).resize(function () {
            trigger_resp();
        })
    })
</script>

</body>
</html>
